package com.xbongbong.paas.pojo.dto;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author WuHB
 * @date 2022/11/17 10:53
 */
@Setter
@Getter
@ToString
public class PrintSubFromDataGetDTO extends BaseDTO {

    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.formDataGet.dataId.NotNull}")
    private Long dataId;

    /**
     * businessType
     */
    @NotNull(message = "{dto.msg.formDataGet.dataId.NotNull}")
    private Integer businessType;

    private FormDataGetDTO formDataGetDTO;

    private JSONObject newData;

    private JSONObject data;


    /**
     * 解释
     */
    private Map<String, FieldAttrEntity> explainMap;

}
